/*----------------------------------------------------------------------*/
/* #Article
/*----------------------------------------------------------------------*/
.Article {
	position: relative;
	padding: 8*0.625rem 0;
	&:not(:first-child) {
		&:before {
			content: '';
			width: 150px;
			height: 1px;
			background-color: $border-color;
			position: absolute;
			top: 0;
			left: calc(50% - 75px);
		}
	}

	@include e(title) {
		position: relative;
		color: $text-darker;
		font-size: 1.5rem;
		line-height: 1.3;
		text-align: center;
		margin: 0;
		padding: 0 2*0.625rem;
		a {
			display: block;
			color: $text-darker;
			&:hover {
				color: $text-darker;
				span {
					box-shadow: inset 0 -2px 0 rgba($primary-color, 0.4);
				}
			}
			&:visited {
				// color: #bdbdbd;
			}
			span {
				padding-bottom: 3px;
				-webkit-transition: 150ms;
			    -moz-transition: 150ms;
			    transition: 150ms;
			    box-shadow: inset 0 -2px 0 rgba($primary-color, 0);
			}
		}
	}

	@include e(top-meta) {
		position: relative;
		color: $text-helper;
		font-size: 0.8125rem;
		text-align: center;
		margin-top: 0.625rem;
		margin-bottom: 0.625rem;
		> span {
			margin-left: 0.5*0.625rem;
			margin-right: 0.5*0.625rem;
		}
		a {
			color: $text-helper;
			&:hover {
				color: $link-color;
			}
		}
		.post-edit-link {
			color: $link-color;
			&:hover {
				color: darken($link-color, 10%);
			}
		}
		time {
			font-style: italic;
		}
	}

	@include e(excerpt) {
		margin: 4*0.625rem 0;
		font-size: 1rem;
		color: $text-lighter;
	}

	@include e(footer) {
		margin-top: 4*0.625rem;
		@include clearfix;
	}
	
	@include e(meta) {
		font-size: 0.8125rem;
		color: $text-helper;
		> span:not(:last-child) {
			margin-right: 3*0.625rem;
		}
		> span {
			display: inline-block;
			> span {
				line-height: 1;
				vertical-align: middle;
			}
		}
		a {
			color: $text-helper;
			&:hover {
				color: $link-color;
			}
		}
		i {
    		vertical-align: middle;
			color: $text-helper;
			margin-right: .5rem;
		}
	}

}

.Article__content {
	img {
		max-width: 100%;
		height: auto;
	}
}

.link-url {
	color: $text-lighter;
	font-size: 75%;
	font-style: italic;
	font-weight: normal;
	margin-top: .5em;
	max-width: 360px;
	width: 100%;
	margin: 0 auto;
	@include oneline;
}

.js-rating {
	&.is-active {
		color: $primary-color;
		.icon-heart {
			background: $primary-color;
			mask: url(images/icon-heart-fill.svg);
		}
	}
}

.sticky-mark {
	position: absolute;
	right: 0; // -13px;
	top: .1em;
	display: block;
	width: 12px;
	height: 11px;
	background-color: $label-color;
	&:before {
		content: '';
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 6px 6px 0 0;
		border-color: $label-color transparent transparent transparent;
	}
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 100%;
		right: 0;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 6px 6px 0;
		border-color: transparent $primary-color transparent transparent;
	}
}

.page-links {
	position: relative;
	text-align: center;
	.page-links-title {
		margin-right: 5px;
	}
	a {
		margin-left: 5px;
		margin-right: 5px;
	}
}


/* ##Blockquote post format
---------------------------------*/
.posts-loop .Article.format-quote {
	.Article__content {
		> blockquote:first-child {
			margin-top: 0;
			margin-bottom: 0;
			text-align: center;
			color: $text-darker;
			font-size: 2*0.75rem;
			border-left: 0;
			cite {
				font-size: 0.875rem;
				&:before {
					content: '- ';
				}
			}
		}
	}
}



